package com.edu.tool.bc;

import java.util.HashMap;
import java.util.List;

public class SysField {
    private boolean isCalcField;
    private String calcExpr;
    private String fullField;
    private boolean isMVF;
    private String  mvlink;
    private boolean isReadOnly;

    private String pickList;

    public List<SysPickMap> getPickMap() {
        return pickMap;
    }

    public void setPickMap(List<SysPickMap> pickMap) {
        this.pickMap = pickMap;
    }

    //public SysPickMap pickMap;
    private List<SysPickMap> pickMap;

    public SysField(String fullField, boolean isMVF, String mvlink ) {
        this.fullField = fullField;
        this.isMVF = isMVF;
        this.mvlink = mvlink;
        this.isReadOnly = false;
        this.pickList = null;
        this.pickMap  = null;
    }

    public SysField(String fullField, boolean isMVF, String mvlink,String pickList,List<SysPickMap> pickMap) {
        this.fullField = fullField;
        this.isMVF = isMVF;
        this.mvlink = mvlink;
        this.isReadOnly = false;
        this.pickList = pickList;
        this.pickMap  = pickMap;
    }

    public String getFullField() {
        return fullField;
    }

    public void setFullField(String fullField) {
        this.fullField = fullField;
    }

    public boolean isMVF() {
        return isMVF;
    }

    public void setMVF(boolean MVF) {
        isMVF = MVF;
    }

    public String getMvlink() {
        return mvlink;
    }

    public void setMvlink(String mvlink) {
        this.mvlink = mvlink;
    }

    public boolean isReadOnly() {
        return isReadOnly;
    }

    public void setReadOnly(boolean readOnly) {
        isReadOnly = readOnly;
    }
}
